package com.web.exiaodao.business.repository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.web.exiaodao.business.entity.FanliRules;


public interface FanliRulesRepository extends
		PagingAndSortingRepository<FanliRules, Long>,
		JpaSpecificationExecutor<FanliRules> {
	public FanliRules findByIdAndStatusNot(Long id,Integer status);
	//根据商家ID查询
	public FanliRules findByBusIdAndStatusNot(Long busId,Integer status);
}
